package com.xx.sg.own.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xx.sg.own.entity.FacilityCheckPoint;
import com.xx.sg.own.mapper.FacilityCheckPointMapper;
import com.xx.sg.own.service.FacilityCheckPointService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FacilityCheckPointServiceImpl extends ServiceImpl<FacilityCheckPointMapper, FacilityCheckPoint> implements FacilityCheckPointService {

    @Autowired
    private FacilityCheckPointMapper facilityCheckPointMapper;

    @Override
    public List<FacilityCheckPoint> selectCheckPointList(FacilityCheckPoint facilityCheckPoint) {
        return facilityCheckPointMapper.selectCheckPointList(facilityCheckPoint);
    }

    @Override
    public FacilityCheckPoint selectByFacilityId(String id) {
        return facilityCheckPointMapper.selectByFacilityId(id);
    }
}
